package com.bootdo.staticmask.core.bean;


import org.apache.log4j.Logger;

import java.util.List;


public class OriDataSource<T> {

    /**
     * 日志记录变量
     */
    private static Logger logger = Logger.getLogger(OriDataSource.class);
    private T key;
    private List<TableProperty> tablePropertyList;


    public OriDataSource(T key, List<TableProperty> tablePropertyList) {
        this.key = key;
        this.tablePropertyList = tablePropertyList;
    }

    public static Logger getLogger() {
        return logger;
    }

    public static void setLogger(Logger logger) {
        OriDataSource.logger = logger;
    }

    public T getKey() {
        return key;
    }

    public void setKey(T key) {
        this.key = key;
    }

    public List<TableProperty> getTablePropertyList() {
        return tablePropertyList;
    }

    public void setTablePropertyList(List<TableProperty> tablePropertyList) {
        this.tablePropertyList = tablePropertyList;
    }
}
